import React, { Component } from 'react'

class MainProductList extends Component {
  render() {
    const {productList} = this.props
    return (
      <div className='main-product'>
        <div>商品列表</div>
        <ul>
          {productList.map(item => <li key={item.acm}>{ item.title}</li>)}
        </ul>
    </div>
    )
  }
}

export default MainProductList